<%@ page contentType="text/html; charset=utf-8" language="java" errorPage="" %>
<%@ page import="javax.naming.Context"%> 
<%@ page import="javax.sql.DataSource"%> 
<%@ page import="javax.naming.InitialContext"%> 
<%@ page import="java.sql.*"%> 
<%@page import="dataconn.DbWrapper;"%> 
<%
request.setCharacterEncoding("utf-8");
String UserID=request.getParameter("UserID");
if (UserID == null || UserID.equals(""))
{
out.print("参数错误！");
out.print("<a href='AddUser.jsp'>返回</a>");
return;
}
String sql="delete from Group_User where UserID="+UserID;
DbWrapper.executeUpdate(sql);
String sql1="update TestUser set IsDropped='1' where UserID="+UserID;
DbWrapper.executeUpdate(sql1);
%>
<%
response.sendRedirect("AddUser.jsp");
%>